package com.zzptc.zzsgz.bdsjws.fragments;

import android.widget.Button;

import com.zzptc.zzsgz.bdsjws.R;
import com.zzptc.zzsgz.bdsjws.activities.OneKeySOSActivity;
import com.zzptc.zzsgz.bdsjws.fragments.base.BaseFragmentbase;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * Created by qqh on 2017/5/26.
 */

public class Fragment_family1 extends BaseFragmentbase {
    @BindView(R.id.btn_sos)
    Button btnSos;


    @Override
    public int getXML() {
        return R.layout.activity_fragment;
    }

    @Override
    public void initView() {

    }

    @Override
    public void initDate() {

    }

    @OnClick(R.id.btn_sos)
    public void onViewClicked() {
//        getFragmentManager()
//                .beginTransaction()
//                .hide()
//                .add(R.id.frame,new Fragment_family2()).commit();
        if (getActivity() instanceof OneKeySOSActivity){
            ((OneKeySOSActivity) getActivity()).totwoFragment();
        }
    }
}
